﻿capital = 141	

#add_opinion_modifier = { target = GER modifier = GER_SWE_historic_trade_Partners } CUT
oob = "SWE_1936"
if = {
	limit = { has_dlc = "Man the Guns" }
		set_naval_oob = "SWE_1936_naval_mtg"
	else = {
		set_naval_oob = "SWE_1936_naval_legacy"
	}
}
set_research_slots = 3
if = {
	limit = { has_dlc = "Arms Against Tyranny" }
	add_ideas = {
#		SWE_historical_trade_with_Germany CUT
		SWE_hungershield
		SWE_severe_lack_of_ammunition
		#SWE_standardized_equipment
		SWE_gustaf_v_idea
	}
	add_dynamic_modifier = { modifier = SWE_folkhemmet }
	set_stability = 0.47
	set_war_support = 0.05
}
if = {
	limit = {
		NOT = { has_dlc = "Arms Against Tyranny" }
	}
	add_ideas = { 
		en_svensk_tiger 
		neutrality_idea
	}
	set_stability = 0.9
	set_war_support = 0.1
}
set_technology = {
	infantry_weapons = 1
	gw_artillery = 1
	basic_train = 1
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_submarine = 1
		early_destroyer = 1
		basic_destroyer = 1
		early_light_cruiser = 1
		early_heavy_cruiser = 1
		transport = 1
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		early_ship_hull_cruiser = 1
		basic_battery = 1
		basic_cruiser_armor_scheme = 1
		basic_torpedo = 1
		basic_depth_charges = 1
		coastal_defense_ships = 1
		mtg_transport = 1
		early_ship_hull_carrier = 1
		early_ship_hull_heavy = 1
	}
}
if = {
	limit = { has_dlc = "La Resistance" }
	set_technology = {
		armored_car1 = 1
	}
}
set_politics = {
	ruling_party = democratic
	last_election = "1932.9.18"
	election_frequency = 48
	elections_allowed = yes
}
set_popularities = {
	democratic = 75
	neutrality = 14
	communism = 8
	fascism = 3
}
set_convoys = 25
recruit_character = SWE_per_albin_hansson
recruit_character = SWE_sven_olov_lindholm
recruit_character = SWE_sven_linderot 
recruit_character = SWE_folke_hogberg #NOT U
recruit_character = SWE_erik_af_edholm #NOT U
recruit_character = SWE_claes_lindstrom
recruit_character = SWE_per_sylvan
recruit_character = SWE_gosta_ehrensvard
recruit_character = SWE_torsten_friis
recruit_character = SWE_erik_palmstierna
recruit_character = SWE_helge_stromback
recruit_character = SWE_helge_jung
recruit_character = SWE_bengt_nordenskiold
recruit_character = SWE_ivar_holmquist
recruit_character = SWE_fabian_tamm
recruit_character = SWE_charles_de_champs
recruit_character = SWE_axel_rappe
recruit_character = SWE_oscar_nygren
recruit_character = SWE_axel_ljungdahl
recruit_character = SWE_archibald_douglas
recruit_character = SWE_ernst_wigforss
recruit_character = SWE_thorwald_bergquist
recruit_character = SWE_osten_unden
### VARIANTS ###
# 1936 Start #
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
	create_equipment_variant = {
		name = "Draken Class"
		type = submarine_1
		upgrades = {
			ship_reliability_upgrade = 1
			sub_engine_upgrade = 1
			sub_stealth_upgrade = 1
			sub_torpedo_upgrade = 1
		}
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	# Submarines #
	create_equipment_variant = {
		name = "Hajen Class"					# represents Hajen and Bävern classes	
		type = ship_hull_submarine_1
		name_group = SWE_SS_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Valen Class"				
		type = ship_hull_submarine_1
		name_group = SWE_SS_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = ship_mine_layer_sub
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Draken Class"				
		type = ship_hull_submarine_2
		name_group = SWE_SS_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = empty
		}
	}
	# Destroyers #
	create_equipment_variant = {
		name = "Örnen Class"					# torpedo boats		
		type = ship_hull_light_1
		name_group = SWE_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = empty
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Ehrensköld Class"				# represents Ehrensköld	and Klas Horn classes
		type = ship_hull_light_1
		name_group = SWE_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_mine_layer_1
			rear_1_custom_slot = ship_depth_charge_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Clas Fleming Class"				# minelayer		
		type = ship_hull_light_1
		name_group = SWE_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = empty
			mid_1_custom_slot = ship_mine_layer_1
			rear_1_custom_slot = ship_mine_layer_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Göteborg Class"	
		type = ship_hull_light_2
		name_group = SWE_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_3
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_mine_layer_1
			rear_1_custom_slot = ship_depth_charge_1
		}
	}
	# Cruisers #
	create_equipment_variant = {
		name = "Fylgia Class"				
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = SWE_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = empty
			mid_1_custom_slot = ship_anti_air_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_light_medium_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Äran Class"				
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = SWE_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_armor_slot = ship_armor_cruiser_2
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Oscar II Class"				
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = SWE_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_medium_battery_1
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "Sverige Class"				
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = SWE_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_heavy_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_2
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_secondaries_1
			mid_2_custom_slot = empty
			rear_1_custom_slot = ship_medium_battery_1
		}
	}
	create_equipment_variant = {
		name = "Gotland Class"
		type = ship_hull_cruiser_1
		name_group = SWE_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = empty
			mid_1_custom_slot = ship_airplane_launcher_1
			mid_2_custom_slot = ship_torpedo_1
			rear_1_custom_slot = empty
		}
	}
}
###################
# Variables #
###################
if = {
	limit = {
		has_dlc = "Arms Against Tyranny"
	}

	add_ideas = neutrality_idea
	set_variable = { hungershield_stability_threshold_1 = 0.68 } 
	set_variable = { hungershield_stability_risk_1 = 0.12 }  #monthly risk if under _1 stability threshold 0.12
	set_variable = { hungershield_stability_threshold_2 = 0.3 } 
	set_variable = { hungershield_stability_risk_2 = 0.18 }   #monthly risk if under _2 stability threshold #0.2
	set_variable = { folkhemmet_war_support = -0.25 }
	set_variable = { folkhemmet_stability = 0.25 }
	set_variable = { folkhemmet_civ = 0.2 }
	set_variable = { folkhemmet_infra = 0.2 }
	set_variable = { folkhemmet_mil = -0.2 }
	set_variable = { folkhemmet_dockyard = -0.2 }
	set_variable = { SWE_train_the_sheltered_manpower_current_cap = 8000 }
	set_variable = { SWE_train_the_sheltered_manpower_current_manpower = 0 }
	set_variable = { SWE_train_the_sheltered_manpower_cap_increase = 6000 }
	set_variable = { SWE_train_the_sheltered_manpower_gain_per_level_growth_base = 100 }
	set_variable = { SWE_train_the_sheltered_manpower_gain_per_level_growth_spread_min = 0 }
	set_variable = { SWE_train_the_sheltered_manpower_gain_per_level_growth_spread_max = 300 }
	set_variable = { SWE_cross_we_bear_org_loss_at_low_org_factor = 0 }
	set_variable = { SWE_cross_we_bear_org_loss_when_moving = 0 }
	set_variable = { SWE_cross_we_bear_org_special_forces_cap = 0 }
	set_variable = { SWE_cross_we_bear_coordination_bonus = 0 }
	set_variable = { SWE_cross_we_bear_army_morale_factor = 0 }
	set_variable = { SWE_cross_we_bear_conscription = 0 }
	set_variable = { SWE_cross_we_bear_org_loss_at_low_org_factor_increase = 0.03 }
	set_variable = { SWE_cross_we_bear_org_loss_when_moving_increase = -0.04 }
	set_variable = { SWE_cross_we_bear_org_special_forces_cap_increase = 0.01 }
	set_variable = { SWE_cross_we_bear_coordination_bonus_increase = 0.02 }
	set_variable = { SWE_cross_we_bear_army_morale_factor_increase = 0.02 }
	set_variable = { SWE_cross_we_bear_conscription_increase = 0.005 }
	set_variable = { SWE_hygenic_housing_cooldown = 0 }
	set_party_name = {
		ideology = communism
		name = SWE_aat_communism_party
		long_name = SWE_aat_communism_party_long
	}
	set_party_name = {
		ideology = neutrality
		name = SWE_aat_hogern
		long_name = SWE_aat_hogern_long
	}
	# DLC Characters 
	recruit_character = SWE_axel_pehrssonbramstorp 
	recruit_character = SWE_herman_eriksson
	recruit_character = SWE_ebba_palmstierna
	recruit_character = SWE_christian_gunter
	recruit_character = SWE_rickard_sandler
	recruit_character = SWE_alva_myrdal
	recruit_character = SWE_gunnar_myrdal
	recruit_character = SWE_martin_ekstrom
	recruit_character = SWE_per_edvin_skold
	recruit_character = SWE_tage_erlander
	recruit_character = SWE_gosta_bagge
	recruit_character = SWE_fallen_riksdag
	recruit_character = SWE_rikard_persson
	recruit_character = SWE_arne_beurling
	recruit_character = SWE_king_gustaf_v
	recruit_character = SWE_nils_flyg
	recruit_character = SWE_birger_furugard
	recruit_character = SWE_karl_kilbom
	recruit_character = SWE_sven_hedengren
	recruit_character = SWE_sven_hedin
	recruit_character = SWE_konrad_hallgren
	recruit_character = SWE_ture_nerman
	recruit_character = SWE_fredrik_strom
	recruit_character = SWE_zeth_hoglund
	recruit_character = SWE_carl_lindhagen
	recruit_character = SWE_hugo_silen
	recruit_character = SWE_ernst_linder
	recruit_character = SWE_carl_ehrensvard
	recruit_character = SWE_frans_severin
	recruit_character = SWE_exiled_revolutionaries
	recruit_character = SWE_nordic_defense_council_leader
	recruit_character = SWE_raoul_wallenberg
	recruit_character = SWE_natanael_beskow
	recruit_character = SWE_olof_thornell
}

if = {
	limit = {
		has_dlc = "La Resistance"
		has_dlc = "Arms Against Tyranny"
	}

	create_operative_leader = {
		name = "Raoul Wallenberg"
		GFX = GFX_portrait_SWE_raoul_wallenberg
		traits = { operative_seducer operative_infiltrator operative_tough }
		bypass_recruitment = no
		available_to_spy_master = yes
		nationalities = { SWE HUN }
	}
}